﻿<div ng-controller="UIOMatic.Views.Pickers.ContentController">

    <ul class="unstyled list-icons" ng-if="node">
        <li>
            <i class="icon icon-delete red hover-show pull-right" ng-click="clear()"></i>
            <i class="icon {{node.icon}} hover-hide"></i>

            <a href prevent-default ng-click="openContentPicker()">{{node.name}}</a>
        </li>
    </ul>

    <a ng-if="!node" href ng-click="openContentPicker()" prevent-default>
        <localize key="general_choose">Choose a node</localize>...
    </a>


</div>
